import Mock from 'mockjs'
/* 模拟数据 */
var data=Mock.mock({
    "list|33":[
        {
            "id|+1":1,
            "pic":"@image(60x60,@color)",
            "title":'@ctitle(10)',
            "ys|0-500":1,
            "dj|30-900":1,
            "isshow":false,
            "count":0,
            "grgwc":"加入购物车",
            "ytj":"已添加",
        }
    ]
})

Mock.mock('/list','get',()=>{
    return data
})